function y = scommittee_classify(y1, y2, scores)
    N = size(y1, 1);
    y = zeros(N, 1);
    
    for i = 1 : N
        if (scores(y1(i), y2(i)) >= 0)
            y(i) = y1(i);
        else
            y(i) = y2(i);
        end
    end 
end

